<div class='top'>
	<h1>Registro</h1>
	<%= display_menu %>
</div>

<div class='body'>
	<div id="escondido" style="display:none">
	<div class='cbb' id="reporte_error"> </div>
	</div>
  <div class='form'>
		<% form_tag({}, {:id => 'user_types'}) do %>
			<%= radio_button_tag 'user_type', 'alumno' %> Alumno <br/>
			<%= radio_button_tag 'user_type', 'profesor' %> Profesor
		<% end %>
		<%= observe_form 'user_types', 
     	:url    => { :action => 'show_form' }%>
		<% hidden_div_if((@form.nil? or @form != 'alumno'), :id => "alumno") do %>
		<% end %>
		<% hidden_div_if((@form.nil? or @form != 'profesor'), :id => "profesor") do %>
		<% end %>			
		<p class='notice'><%= flash[:notice] %></p>
  </div>
</div>
